<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>活动报名用户管理</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/css/font-awesome.min.css">
  
  <style>
    :root {
      --primary: #4F46E5;
      --secondary: #6B7280;
      --light: #F9FAFB;
      --dark: #1F2937;
      --white: #FFFFFF;
      --success: #10B981;
      --danger: #EF4444;
      --warning: #F59E0B;
      --border: #E5E7EB;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      
      /* 不同风格主题色 */
      --style1: #3B82F6; /* 科技蓝 */
      --style2: #EC4899; /* 活力粉 */
      --style3: #10B981; /* 生态绿 */
      --style4: #F59E0B; /* 温暖橙 */
      --style5: #8B5CF6; /* 梦幻紫 */
      --style6: #111827; /* 商务黑 */
    }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: #f5f5f5;
      color: var(--dark);
      min-height: 100vh;
      padding: 0;
      margin: 0;
      transition: background-color 0.3s ease;
    }
    
    .container {
      max-width: 420px;
      margin: 0 auto;
      background-color: var(--white);
      min-height: 100vh;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      transition: background-color 0.3s ease;
    }
    
    /* 主页面容器 */
    .user-page {
      display: none;
      min-height: 100vh;
      flex-direction: column;
    }
    
    .user-page.active {
      display: flex;
      animation: fadeIn 0.3s ease forwards;
    }
    
    /* 顶部导航栏 */
    .page-header {
      padding: 18px 20px;
      position: relative;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
      z-index: 10;
    }
    
    .page-title {
      font-size: 18px;
      font-weight: 600;
      margin: 0;
    }
    
    .header-back {
      position: absolute;
      left: 20px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--dark);
      font-size: 20px;
      cursor: pointer;
      transition: color 0.3s ease, transform 0.2s ease;
    }
    
    .header-back:active {
      transform: translateY(-50%) scale(0.9);
    }
    
    .header-actions {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
    }
    
    .header-btn {
      background: none;
      border: none;
      color: var(--dark);
      font-size: 18px;
      cursor: pointer;
      margin-left: 15px;
      transition: color 0.3s ease, transform 0.2s ease;
    }
    
    .header-btn:active {
      transform: scale(0.9);
    }
    
    /* 活动信息栏 */
    .event-info {
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
    }
    
    .event-info h2 {
      font-size: 17px;
      font-weight: 600;
      margin-bottom: 8px;
    }
    
    .event-stats {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      color: var(--secondary);
    }
    
    .event-stats div {
      display: flex;
      align-items: center;
    }
    
    .event-stats i {
      margin-right: 5px;
      color: var(--primary);
    }
    
    /* 工具栏 */
    .user-toolbar {
      padding: 12px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
    }
    
    .toolbar-search {
      flex-grow: 1;
      position: relative;
      max-width: 240px;
    }
    
    .toolbar-search input {
      width: 100%;
      padding: 8px 12px 8px 36px;
      border-radius: 20px;
      border: 1px solid var(--border);
      font-size: 14px;
      background-color: var(--light);
      transition: all 0.2s ease;
    }
    
    .toolbar-search input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
    }
    
    .toolbar-search i {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--secondary);
      font-size: 14px;
    }
    
    .filter-btn {
      padding: 8px 12px;
      background-color: transparent;
      color: var(--primary);
      border: 1px solid var(--primary);
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      display: flex;
      align-items: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .filter-btn i {
      margin-right: 6px;
    }
    
    .filter-btn:active {
      transform: scale(0.95);
    }
    
    /* 分类栏 */
    .status-bar {
      padding: 0;
      background-color: var(--white);
      border-bottom: 1px solid var(--border);
      transition: all 0.3s ease;
    }
    
    .status-tabs {
      display: flex;
      overflow-x: auto;
      scrollbar-width: none;
    }
    
    .status-tabs::-webkit-scrollbar {
      display: none;
    }
    
    .status-tab {
      padding: 12px 20px;
      font-size: 15px;
      font-weight: 500;
      color: var(--secondary);
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.2s ease;
      position: relative;
    }
    
    .status-tab.active {
      color: var(--primary);
    }
    
    .status-tab .badge {
      margin-left: 6px;
      font-size: 11px;
      padding: 2px 6px;
      background-color: rgba(79, 70, 229, 0.1);
      color: var(--primary);
    }
    
    .status-tab:hover {
      background-color: var(--light);
    }
    
    /* 用户列表 */
    .user-list {
      flex-grow: 1;
      overflow-y: auto;
      transition: background-color 0.3s ease;
    }
    
    .user-item {
      padding: 15px 20px;
      border-bottom: 1px solid var(--border);
      transition: background-color 0.2s ease, transform 0.2s ease;
      position: relative;
      display: flex;
      align-items: center;
    }
    
    .user-item:active {
      transform: scale(0.995);
    }
    
    .user-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 12px;
      border: 2px solid transparent;
      transition: all 0.3s ease;
    }
    
    .user-info {
      flex-grow: 1;
    }
    
    .user-name {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 3px;
      color: var(--dark);
    }
    
    .user-meta {
      font-size: 12px;
      color: var(--secondary);
      display: flex;
      align-items: center;
    }
    
    .user-meta .time {
      margin-right: 12px;
    }
    
    .user-meta .status {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 11px;
      font-weight: 500;
    }
    
    .status-confirmed {
      background-color: rgba(16, 185, 129, 0.1);
      color: var(--success);
    }
    
    .status-pending {
      background-color: rgba(245, 158, 11, 0.1);
      color: var(--warning);
    }
    
    .status-canceled {
      background-color: rgba(239, 68, 68, 0.1);
      color: var(--danger);
    }
    
    .user-actions {
      display: flex;
    }
    
    .user-btn {
      background: none;
      border: none;
      color: var(--secondary);
      font-size: 18px;
      cursor: pointer;
      margin-left: 12px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }
    
    .user-btn:hover {
      background-color: var(--light);
      color: var(--primary);
    }
    
    .user-btn:active {
      transform: scale(0.9);
    }
    
    /* 下拉刷新 */
    .refresh-control {
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--secondary);
      font-size: 14px;
    }
    
    .refresh-spinner {
      animation: spin 1s linear infinite;
      margin-right: 6px;
    }
    
    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    
    /* 空状态 */
    .empty-state {
      padding: 60px 20px;
      text-align: center;
      color: var(--secondary);
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    
    .empty-icon {
      font-size: 60px;
      margin-bottom: 20px;
      opacity: 0.3;
      animation: float 3s ease-in-out infinite;
    }
    
    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
      100% { transform: translateY(0px); }
    }
    
    .empty-text {
      font-size: 16px;
      margin-bottom: 20px;
    }
    
    .empty-action {
      padding: 10px 20px;
      background-color: var(--primary);
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .empty-action i {
      margin-right: 6px;
    }
    
    .empty-action:active {
      transform: scale(0.95);
    }
    
    /* 样式切换器 */
    .style-switcher {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1010;
      background-color: white;
      border-radius: 8px;
      box-shadow: var(--shadow);
      overflow: hidden;
      width: 180px;
      transition: all 0.3s ease;
      transform: translateX(0);
      opacity: 1;
    }
    
    .style-switcher.hidden {
      transform: translateX(200px);
      opacity: 0;
      pointer-events: none;
    }
    
    .switcher-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1020;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
      border: none;
      font-size: 18px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .switcher-header {
      padding: 10px 16px;
      font-size: 14px;
      font-weight: 600;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .switcher-close {
      background: none;
      border: none;
      color: var(--secondary);
      font-size: 16px;
      cursor: pointer;
    }
    
    .switcher-option {
      padding: 12px 16px;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.2s;
      display: flex;
      align-items: center;
    }
    
    .switcher-color {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin-right: 10px;
    }
    
    .switcher-option:hover {
      background-color: #f9f9f9;
    }
    
    .switcher-option.active {
      background-color: var(--primary);
      color: white;
    }
    
    /* 风格1：科技蓝 */
    .style-1 {
      --primary: var(--style1);
    }
    
    .style-1 .status-tab.active {
      border-bottom: 3px solid var(--primary);
    }
    
    .style-1 .user-item:hover {
      background-color: rgba(59, 130, 246, 0.03);
    }
    
    .style-1 .user-avatar:hover {
      border-color: var(--primary);
    }
    
    /* 风格2：活力粉 */
    .style-2 {
      --primary: var(--style2);
    }
    
    .style-2 .page-header {
      background: linear-gradient(45deg, var(--primary), #F472B6);
      color: white;
      border-bottom: none;
      box-shadow: 0 2px 15px rgba(236, 72, 153, 0.2);
    }
    
    .style-2 .header-back,
    .style-2 .header-btn,
    .style-2 .page-title {
      color: white;
    }
    
    .style-2 .user-item {
      border-radius: 12px;
      margin: 10px;
      border-bottom: none;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }
    
    .style-2 .user-list {
      background-color: #FAFAFA;
      padding-top: 5px;
    }
    
    .style-2 .status-bar {
      background-color: white;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    }
    
    .style-2 .status-tab.active {
      color: var(--primary);
      font-weight: 600;
      position: relative;
    }
    
    .style-2 .status-tab.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background-color: var(--primary);
    }
    
    /* 风格3：生态绿 */
    .style-3 {
      --primary: var(--style3);
    }
    
    .style-3 .container {
      background-color: #F8FAFC;
    }
    
    .style-3 .user-toolbar {
      background-color: white;
      margin: 10px;
      border-radius: 10px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
      border-bottom: none;
    }
    
    .style-3 .status-tab {
      font-size: 14px;
      position: relative;
    }
    
    .style-3 .status-tab.active {
      font-weight: 600;
    }
    
    .style-3 .status-tab.active::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 8px;
      transform: translateY(-50%);
      width: 3px;
      height: 16px;
      border-radius: 3px;
      background-color: var(--primary);
    }
    
    /* 风格4：温暖橙 */
    .style-4 {
      --primary: var(--style4);
    }
    
    .style-4 .page-header {
      background-color: white;
      border-bottom: none;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .style-4 .user-item {
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .style-4 .user-name {
      color: var(--primary);
    }
    
    .style-4 .event-info {
      background-color: rgba(245, 158, 11, 0.05);
      border-bottom: 1px solid rgba(245, 158, 11, 0.1);
    }
    
    /* 风格5：梦幻紫 */
    .style-5 {
      --primary: var(--style5);
    }
    
    .style-5 .container {
      background-color: #FCFAFF;
    }
    
    .style-5 .user-item {
      padding: 18px 20px;
    }
    
    .style-5 .user-meta {
      color: #9333EA;
    }
    
    .style-5 .user-name {
      color: #4C1D95;
    }
    
    .style-5 .user-avatar {
      box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
    }
    
    .style-5 .status-tab {
      font-weight: 500;
      color: #6B7280;
    }
    
    .style-5 .status-tab.active {
      color: var(--primary);
      font-weight: 600;
    }
    
    /* 风格6：商务黑 */
    .style-6 {
      --primary: #60A5FA;
      --secondary: #9CA3AF;
      --light: #1F2937;
      --dark: #F9FAFB;
      --white: #111827;
      --border: #374151;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    
    .style-6 body {
      background-color: #030712;
    }
    
    .style-6 .container {
      background-color: var(--white);
    }
    
    .style-6 .page-header {
      background-color: var(--light);
      border-bottom-color: var(--border);
    }
    
    .style-6 .header-back,
    .style-6 .header-btn,
    .style-6 .page-title {
      color: var(--dark);
    }
    
    .style-6 .user-item {
      border-bottom-color: var(--border);
    }
    
    .style-6 .user-item:hover {
      background-color: rgba(255, 255, 255, 0.05);
    }
    
    .style-6 .user-name {
      color: #E5E7EB;
    }
    
    .style-6 .toolbar-search input {
      background-color: var(--light);
      border-color: var(--border);
      color: var(--dark);
    }
    
    .style-6 .style-switcher {
      background-color: var(--light);
    }
    
    .style-6 .switcher-header {
      border-bottom-color: var(--border);
      color: var(--dark);
    }
    
    .style-6 .switcher-option {
      color: var(--dark);
    }
    
    .style-6 .switcher-option:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* 动画效果 */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    /* 响应式调整 */
    @media (max-width: 360px) {
      .filter-btn span {
        display: none;
      }
      
      .filter-btn i {
        margin-right: 0;
      }
    }
  </style>
</head>
<body class="style-1">
  <!-- 样式切换器 -->
  <button class="switcher-toggle">
    <i class="fa fa-paint-brush"></i>
  </button>
  
  <div class="style-switcher hidden">
    <div class="switcher-header">
      选择用户管理样式
      <button class="switcher-close"><i class="fa fa-times"></i></button>
    </div>
    <div class="switcher-option active" data-style="1">
      <span class="switcher-color" style="background-color: var(--style1);"></span>
      科技蓝
    </div>
    <div class="switcher-option" data-style="2">
      <span class="switcher-color" style="background-color: var(--style2);"></span>
      活力粉
    </div>
    <div class="switcher-option" data-style="3">
      <span class="switcher-color" style="background-color: var(--style3);"></span>
      生态绿
    </div>
    <div class="switcher-option" data-style="4">
      <span class="switcher-color" style="background-color: var(--style4);"></span>
      温暖橙
    </div>
    <div class="switcher-option" data-style="5">
      <span class="switcher-color" style="background-color: var(--style5);"></span>
      梦幻紫
    </div>
    <div class="switcher-option" data-style="6">
      <span class="switcher-color" style="background-color: var(--style6);"></span>
      商务黑
    </div>
  </div>
  
  <div class="container">
    <!-- 风格1：科技蓝 - 科技活动用户管理 -->
    <div class="user-page active" id="page1">
      <div class="page-header">
        <button class="header-back"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">活动报名用户</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-download"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="event-info">
        <h2>2023人工智能前沿技术峰会</h2>
        <div class="event-stats">
          <div><i class="fa fa-users"></i> 总报名: 528人</div>
          <div><i class="fa fa-check-circle"></i> 已确认: 486人</div>
          <div><i class="fa fa-clock-o"></i> 待确认: 42人</div>
        </div>
      </div>
      
      <div class="user-toolbar">
        <div class="toolbar-search">
          <i class="fa fa-search"></i>
          <input type="text" placeholder="搜索用户...">
        </div>
        <button class="filter-btn">
          <i class="fa fa-filter"></i>
          <span>筛选</span>
        </button>
      </div>
      
      <div class="status-bar">
        <div class="status-tabs">
          <div class="status-tab active">全部 <span class="badge">528</span></div>
          <div class="status-tab">已确认 <span class="badge">486</span></div>
          <div class="status-tab">待确认 <span class="badge">42</span></div>
          <div class="status-tab">已取消 <span class="badge">15</span></div>
        </div>
      </div>
      
      <div class="user-list">
        <div class="refresh-control">
          <i class="fa fa-refresh"></i>
          <span>下拉刷新</span>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1005/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">张明</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 09:24 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1012/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">李华</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 08:15 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1027/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">王芳</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 昨天 16:42 报名</span>
              <span class="status status-pending">待确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1025/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">赵伟</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 昨天 14:30 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1062/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">陈静</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 前天 19:18 报名</span>
              <span class="status status-canceled">已取消</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格2：活力粉 - 时尚活动用户管理 -->
    <div class="user-page" id="page2">
      <div class="page-header">
        <button class="header-back"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">活动报名用户</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-download"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="event-info">
        <h2>2023秋季时装周</h2>
        <div class="event-stats">
          <div><i class="fa fa-users"></i> 总报名: 856人</div>
          <div><i class="fa fa-check-circle"></i> 已确认: 792人</div>
          <div><i class="fa fa-clock-o"></i> 待确认: 64人</div>
        </div>
      </div>
      
      <div class="user-toolbar">
        <div class="toolbar-search">
          <i class="fa fa-search"></i>
          <input type="text" placeholder="搜索用户...">
        </div>
        <button class="filter-btn">
          <i class="fa fa-filter"></i>
          <span>筛选</span>
        </button>
      </div>
      
      <div class="status-bar">
        <div class="status-tabs">
          <div class="status-tab active">全部 <span class="badge">856</span></div>
          <div class="status-tab">已确认 <span class="badge">792</span></div>
          <div class="status-tab">待确认 <span class="badge">64</span></div>
          <div class="status-tab">已取消 <span class="badge">32</span></div>
        </div>
      </div>
      
      <div class="user-list">
        <div class="refresh-control">
          <i class="fa fa-refresh"></i>
          <span>下拉刷新</span>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1027/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">林小雨</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 10:05 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1062/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">陈佳琪</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 09:38 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1074/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">王子轩</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 昨天 20:15 报名</span>
              <span class="status status-pending">待确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格3：生态绿 - 环保活动用户管理 -->
    <div class="user-page" id="page3">
      <div class="page-header">
        <button class="header-back"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">活动报名用户</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-download"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="event-info">
        <h2>城市公园植树活动</h2>
        <div class="event-stats">
          <div><i class="fa fa-users"></i> 总报名: 156人</div>
          <div><i class="fa fa-check-circle"></i> 已确认: 156人</div>
          <div><i class="fa fa-clock-o"></i> 待确认: 0人</div>
        </div>
      </div>
      
      <div class="user-toolbar">
        <div class="toolbar-search">
          <i class="fa fa-search"></i>
          <input type="text" placeholder="搜索用户...">
        </div>
        <button class="filter-btn">
          <i class="fa fa-filter"></i>
          <span>筛选</span>
        </button>
      </div>
      
      <div class="status-bar">
        <div class="status-tabs">
          <div class="status-tab active">全部 <span class="badge">156</span></div>
          <div class="status-tab">已确认 <span class="badge">156</span></div>
          <div class="status-tab">待确认 <span class="badge">0</span></div>
          <div class="status-tab">已取消 <span class="badge">8</span></div>
        </div>
      </div>
      
      <div class="user-list">
        <div class="refresh-control">
          <i class="fa fa-refresh"></i>
          <span>下拉刷新</span>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1012/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">李建国</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 08:42 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1000/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">刘畅</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 昨天 15:30 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格4：温暖橙 - 美食活动用户管理 -->
    <div class="user-page" id="page4">
      <div class="page-header">
        <button class="header-back"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">活动报名用户</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-download"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="event-info">
        <h2>意大利美食烹饪工作坊</h2>
        <div class="event-stats">
          <div><i class="fa fa-users"></i> 总报名: 42人</div>
          <div><i class="fa fa-check-circle"></i> 已确认: 40人</div>
          <div><i class="fa fa-clock-o"></i> 待确认: 2人</div>
        </div>
      </div>
      
      <div class="user-toolbar">
        <div class="toolbar-search">
          <i class="fa fa-search"></i>
          <input type="text" placeholder="搜索用户...">
        </div>
        <button class="filter-btn">
          <i class="fa fa-filter"></i>
          <span>筛选</span>
        </button>
      </div>
      
      <div class="status-bar">
        <div class="status-tabs">
          <div class="status-tab active">全部 <span class="badge">42</span></div>
          <div class="status-tab">已确认 <span class="badge">40</span></div>
          <div class="status-tab">待确认 <span class="badge">2</span></div>
          <div class="status-tab">已取消 <span class="badge">5</span></div>
        </div>
      </div>
      
      <div class="user-list">
        <div class="refresh-control">
          <i class="fa fa-refresh"></i>
          <span>下拉刷新</span>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1025/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">赵大厨</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 11:20 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1066/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">孙小美</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 昨天 18:45 报名</span>
              <span class="status status-pending">待确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格5：梦幻紫 - 艺术活动用户管理 -->
    <div class="user-page" id="page5">
      <div class="page-header">
        <button class="header-back"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">活动报名用户</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-download"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="event-info">
        <h2>当代艺术装置展</h2>
        <div class="event-stats">
          <div><i class="fa fa-users"></i> 总报名: 753人</div>
          <div><i class="fa fa-check-circle"></i> 已确认: 753人</div>
          <div><i class="fa fa-clock-o"></i> 待确认: 0人</div>
        </div>
      </div>
      
      <div class="user-toolbar">
        <div class="toolbar-search">
          <i class="fa fa-search"></i>
          <input type="text" placeholder="搜索用户...">
        </div>
        <button class="filter-btn">
          <i class="fa fa-filter"></i>
          <span>筛选</span>
        </button>
      </div>
      
      <div class="status-bar">
        <div class="status-tabs">
          <div class="status-tab active">全部 <span class="badge">753</span></div>
          <div class="status-tab">已确认 <span class="badge">753</span></div>
          <div class="status-tab">待确认 <span class="badge">0</span></div>
          <div class="status-tab">已取消 <span class="badge">28</span></div>
        </div>
      </div>
      
      <div class="user-list">
        <div class="refresh-control">
          <i class="fa fa-refresh"></i>
          <span>下拉刷新</span>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1074/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">吴艺</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 09:15 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1083/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">郑晓艺</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 昨天 14:22 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 风格6：商务黑 - 商业活动用户管理 -->
    <div class="user-page" id="page6">
      <div class="page-header">
        <button class="header-back"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">活动报名用户</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-download"></i></button>
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="event-info">
        <h2>2023科技创新峰会</h2>
        <div class="event-stats">
          <div><i class="fa fa-users"></i> 总报名: 1250人</div>
          <div><i class="fa fa-check-circle"></i> 已确认: 1180人</div>
          <div><i class="fa fa-clock-o"></i> 待确认: 70人</div>
        </div>
      </div>
      
      <div class="user-toolbar">
        <div class="toolbar-search">
          <i class="fa fa-search"></i>
          <input type="text" placeholder="搜索用户...">
        </div>
        <button class="filter-btn">
          <i class="fa fa-filter"></i>
          <span>筛选</span>
        </button>
      </div>
      
      <div class="status-bar">
        <div class="status-tabs">
          <div class="status-tab active">全部 <span class="badge">1250</span></div>
          <div class="status-tab">已确认 <span class="badge">1180</span></div>
          <div class="status-tab">待确认 <span class="badge">70</span></div>
          <div class="status-tab">已取消 <span class="badge">45</span></div>
        </div>
      </div>
      
      <div class="user-list">
        <div class="refresh-control">
          <i class="fa fa-refresh"></i>
          <span>下拉刷新</span>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1005/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">张总</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 10:30 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
        
        <div class="user-item">
          <img src="https://picsum.photos/id/1012/200/200" alt="用户头像" class="user-avatar">
          <div class="user-info">
            <div class="user-name">李总监</div>
            <div class="user-meta">
              <span class="time"><i class="fa fa-clock-o"></i> 昨天 16:45 报名</span>
              <span class="status status-confirmed">已确认</span>
            </div>
          </div>
          <div class="user-actions">
            <button class="user-btn"><i class="fa fa-comment-o"></i></button>
            <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 当前状态
    let currentStyle = 1;
    let refreshState = 0; // 0: 正常, 1: 下拉中, 2: 刷新中
    
    // DOM元素
    const switcherToggle = document.querySelector('.switcher-toggle');
    const switcher = document.querySelector('.style-switcher');
    const switcherClose = document.querySelector('.switcher-close');
    const switcherOptions = document.querySelectorAll('.switcher-option');
    const userPages = {
      1: document.getElementById('page1'),
      2: document.getElementById('page2'),
      3: document.getElementById('page3'),
      4: document.getElementById('page4'),
      5: document.getElementById('page5'),
      6: document.getElementById('page6')
    };
    const bodyElement = document.body;
    const userLists = document.querySelectorAll('.user-list');
    const refreshControls = document.querySelectorAll('.refresh-control');
    
    // 初始化
    function init() {
      // 切换器控制
      switcherToggle.addEventListener('click', toggleSwitcher);
      switcherClose.addEventListener('click', toggleSwitcher);
      
      // 切换样式
      switcherOptions.forEach(option => {
        option.addEventListener('click', function() {
          const style = parseInt(this.getAttribute('data-style'));
          switchStyle(style);
          toggleSwitcher();
        });
      });
      
      // 初始化状态标签
      initStatusTabs();
      
      // 初始化下拉刷新
      initPullToRefresh();
      
      // 初始化按钮事件
      initButtons();
    }
    
    // 切换样式选择器显示/隐藏
    function toggleSwitcher() {
      switcher.classList.toggle('hidden');
    }
    
    // 初始化状态标签切换
    function initStatusTabs() {
      document.querySelectorAll('.status-tab').forEach(tab => {
        tab.addEventListener('click', function() {
          // 移除同组所有标签的active类
          const tabContainer = this.parentElement;
          tabContainer.querySelectorAll('.status-tab').forEach(item => {
            item.classList.remove('active');
          });
          
          // 给当前点击的标签添加active类并添加动画
          this.classList.add('active');
          this.style.transform = 'scale(1.1)';
          setTimeout(() => {
            this.style.transform = 'scale(1)';
          }, 200);
        });
      });
    }
    
    // 初始化下拉刷新
    function initPullToRefresh() {
      userLists.forEach((list, index) => {
        let startY = 0;
        let currentY = 0;
        let isPulling = false;
        const refreshControl = refreshControls[index];
        
        list.addEventListener('touchstart', function(e) {
          // 只有在列表顶部时才能下拉刷新
          if (list.scrollTop <= 0) {
            startY = e.touches[0].clientY;
            currentY = startY;
            isPulling = true;
            refreshState = 0;
          }
        });
        
        list.addEventListener('touchmove', function(e) {
          if (!isPulling || refreshState === 2) return;
          
          currentY = e.touches[0].clientY;
          const diffY = currentY - startY;
          
          // 只允许向下拉动
          if (diffY > 0) {
            // 阻止页面滚动
            e.preventDefault();
            
            refreshState = 1;
            const pullDistance = Math.min(diffY, 80);
            refreshControl.style.height = pullDistance + 'px';
            
            // 改变刷新提示文本
            if (pullDistance > 50) {
              refreshControl.innerHTML = '<i class="fa fa-refresh refresh-spinner"></i><span>松开刷新</span>';
            } else {
              refreshControl.innerHTML = '<i class="fa fa-refresh"></i><span>下拉刷新</span>';
            }
          }
        });
        
        list.addEventListener('touchend', function() {
          if (!isPulling || refreshState === 2) return;
          
          isPulling = false;
          const diffY = currentY - startY;
          
          if (diffY > 50) {
            // 执行刷新
            refreshState = 2;
            refreshControl.innerHTML = '<i class="fa fa-refresh refresh-spinner"></i><span>刷新中...</span>';
            
            // 模拟刷新过程
            setTimeout(() => {
              refreshControl.style.height = '50px';
              refreshControl.innerHTML = '<i class="fa fa-check"></i><span>刷新成功</span>';
              
              // 恢复正常状态
              setTimeout(() => {
                refreshControl.style.height = '50px';
                refreshControl.innerHTML = '<i class="fa fa-refresh"></i><span>下拉刷新</span>';
                refreshState = 0;
              }, 1000);
              
              // 添加新用户
              addNewUserItem(list);
            }, 1500);
          } else {
            // 未达到刷新条件，恢复原状
            refreshControl.style.height = '50px';
            refreshState = 0;
          }
        });
      });
    }
    
    // 添加新用户项
    function addNewUserItem(list) {
      // 创建新用户元素
      const newItem = document.createElement('div');
      newItem.className = 'user-item';
      newItem.style.opacity = '0';
      newItem.style.transform = 'translateY(-20px)';
      newItem.style.transition = 'all 0.3s ease';
      
      // 随机选择内容
      const imageIds = [1005, 1012, 1027, 1025, 1062, 1074, 1083, 1066, 1000];
      const randomImageId = imageIds[Math.floor(Math.random() * imageIds.length)];
      const names = [
        "陈明", "刘洋", "王丽", "张强", "赵敏",
        "孙琳", "周杰", "吴佳", "郑浩", "钱明"
      ];
      const randomName = names[Math.floor(Math.random() * names.length)];
      
      // 随机状态
      const statuses = [
        {class: "status-confirmed", text: "已确认"},
        {class: "status-pending", text: "待确认"}
      ];
      const randomStatus = statuses[Math.floor(Math.random() * statuses.length)];
      
      newItem.innerHTML = `
        <img src="https://picsum.photos/id/${randomImageId}/200/200" alt="用户头像" class="user-avatar">
        <div class="user-info">
          <div class="user-name">${randomName}</div>
          <div class="user-meta">
            <span class="time"><i class="fa fa-clock-o"></i> 刚刚 报名</span>
            <span class="status ${randomStatus.class}">${randomStatus.text}</span>
          </div>
        </div>
        <div class="user-actions">
          <button class="user-btn"><i class="fa fa-comment-o"></i></button>
          <button class="user-btn"><i class="fa fa-ellipsis-h"></i></button>
        </div>
      `;
      
      // 添加到列表顶部
      const firstChild = list.querySelector('.user-item');
      if (firstChild) {
        list.insertBefore(newItem, firstChild);
      } else {
        list.appendChild(newItem);
      }
      
      // 添加动画效果
      setTimeout(() => {
        newItem.style.opacity = '1';
        newItem.style.transform = 'translateY(0)';
      }, 50);
      
      // 绑定按钮事件
      initUserButtons(newItem);
    }
    
    // 初始化按钮事件
    function initButtons() {
      document.querySelectorAll('.user-item').forEach(item => {
        initUserButtons(item);
      });
      
      // 筛选按钮
      document.querySelectorAll('.filter-btn').forEach(btn => {
        btn.addEventListener('click', function() {
          alert('筛选功能：可按报名时间、用户类型等筛选');
        });
      });
      
      // 下载按钮
      document.querySelectorAll('.header-actions .header-btn:first-child').forEach(btn => {
        btn.addEventListener('click', function() {
          alert('已导出报名用户列表至Excel');
        });
      });
      
      // 更多按钮
      document.querySelectorAll('.header-actions .header-btn:last-child').forEach(btn => {
        btn.addEventListener('click', function() {
          alert('更多操作：包括发送通知、批量处理等功能');
        });
      });
      
      // 返回按钮
      document.querySelectorAll('.header-back').forEach(btn => {
        btn.addEventListener('click', function() {
          alert('返回活动详情页');
        });
      });
    }
    
    // 初始化用户项按钮事件
    function initUserButtons(item) {
      // 聊天按钮
      const chatBtn = item.querySelector('.user-btn:first-child');
      if (chatBtn) {
        chatBtn.addEventListener('click', function(e) {
          e.stopPropagation();
          const userName = item.querySelector('.user-name').textContent;
          alert(`与 ${userName} 开始聊天`);
        });
      }
      
      // 更多操作按钮
      const moreBtn = item.querySelector('.user-btn:last-child');
      if (moreBtn) {
        moreBtn.addEventListener('click', function(e) {
          e.stopPropagation();
          const userName = item.querySelector('.user-name').textContent;
          const statusEl = item.querySelector('.user-meta .status');
          const statusText = statusEl.textContent;
          
          let actions = '';
          if (statusText === '已确认') {
            actions = '取消确认、发送消息、查看详情';
          } else if (statusText === '待确认') {
            actions = '确认报名、拒绝报名、发送消息';
          } else {
            actions = '重新邀请、发送消息、查看详情';
          }
          
          alert(`${userName} 的操作选项：${actions}`);
        });
      }
      
      // 点击用户项查看详情
      item.addEventListener('click', function() {
        const userName = this.querySelector('.user-name').textContent;
        alert(`${userName} 的报名详情：\n- 报名时间：${this.querySelector('.time').textContent.replace('报名', '').trim()}\n- 报名状态：${this.querySelector('.status').textContent}\n- 联系方式：已加密保护\n- 备注信息：无`);
      });
    }
    
    // 关闭所有页面
    function closeAllPages() {
      Object.values(userPages).forEach(page => {
        page.classList.remove('active');
      });
    }
    
    // 切换样式
    function switchStyle(style) {
      // 移除所有样式类
      bodyElement.classList.remove('style-1', 'style-2', 'style-3', 'style-4', 'style-5', 'style-6');
      
      // 添加当前样式类
      bodyElement.classList.add(`style-${style}`);
      
      // 更新当前样式
      currentStyle = style;
      
      // 更新切换器选中状态
      switcherOptions.forEach(option => {
        option.classList.remove('active');
        if (parseInt(option.getAttribute('data-style')) === style) {
          option.classList.add('active');
        }
      });
      
      // 显示对应页面
      closeAllPages();
      userPages[style].classList.add('active');
    }
    
    // 键盘导航
    document.addEventListener('keydown', function(e) {
      if (e.key === 'ArrowLeft') {
        let prev = currentStyle - 1;
        if (prev < 1) prev = 6;
        switchStyle(prev);
      } else if (e.key === 'ArrowRight') {
        let next = currentStyle + 1;
        if (next > 6) next = 1;
        switchStyle(next);
      }
    });
    
    // 启动
    init();
  </script>
</body>
</html>
